package com.iseastar.dianxiaosan.model;

public class Const {

    public static final String KEY_OUTPUT_FILE_PATH = "outputFilePath";
    public static final String KEY_CONTENT_TYPE = "contentType";
    public static final String KEY_NATIVE_TOKEN = "nativeToken";
    public static final String KEY_NATIVE_ENABLE = "nativeEnable";
    public static final String KEY_NATIVE_MANUAL = "nativeEnableManual";

    public static final String CONTENT_TYPE_GENERAL = "general";
    public static final String CONTENT_TYPE_ID_CARD_FRONT = "IDCardFront";
    public static final String CONTENT_TYPE_ID_CARD_BACK = "IDCardBack";
    public static final String CONTENT_TYPE_BANK_CARD = "bankCard";

    public static interface RequestCode {
        /**
         * 登录
         */
        int login = 9999;
        /**
         * 扫描袋子
         */
        int scan_bag = 9996;

        /**
         * 火箭侠任务扫描二维码
         */
        int courier_scan_task = 9994;
    }

    /**
     * 寄件类型
     *
     * @author coffee <br>
     * 2016-10-14下午7:06:37
     */
    public static interface ParcelType {
        /**
         * 标准寄件
         */
        int standard = 0;
        /**
         * 有袋上门
         */
        int bagToHome = 1;
        /**
         * 有袋到柜
         */
        int bagToBox = 2;

        /**
         * 有袋到驿站
         */
        int bagToStation = 3;
    }

    public interface OrderStatus {
        /**
         * 已下单
         */
        public final int ordered = 1;
        public final int dispathed = 2; // 已分配
        public final int accepted = 3; // 已确认
        public final int arrived = 4; // 已到达
        /**
         * 已报价
         */
        public final int quoted = 5;
        /**
         * 未支付(已经报价)
         */
        public final int unpay = 6; // 未支付
        /**
         * 已支付
         */
        public final int payed = 7;
        public final int print = 8; // 已打印面单
        public final int overed = 9; // 已完结
        public final int canceled = 10; // 已取消

        public final int reject = 11; // 已拒收
        public final int collectionSuccess = 13;// "揽件成功"

        public final int posted = 20;// "到柜已投递"(到柜专有属性)
        public final int picket = 21;// "到柜已取走"

        public final int rejectposted = 22;// "拒收已投递"
        public final int rejectpicket = 23;// "拒收已取走"

        public final int STATION_WAIT = 25;// 到店已投递
        public final int STATION_ALREADY = 26;// 到店已取走
    }

    public interface ParcelStatus {

        public final int unbinded = 1;// "未绑定"
        public final int binded = 2;// "已绑定"
        public final int unpayed = 3;// "未支付"
        public final int payed = 4;// "已支付"
        public final int pushed = 5;// "已入库"
        public final int poped = 6;// "已出库"
        public final int accepted = 7;// "包裹已被快递公司接收"
        public final int unaccepted = 8;// "包裹未被快递公司接收"
        public final int taked = 9;// "包裹揽收成功"
        public final int untaked = 10;// "包裹揽收不成功"
        public final int unarrived = 11;// "包裹送达不成功"
        public final int arrived = 12;// "包裹送达成功"
        public final int returned = 13;// "包裹已退回"
        public final int missed = 14;// "包裹丢失"
        public final int overed = 15;// "包裹已完结"
        public final int undelivered = 15;// "未投递"//到点自寄yong;
        public final int delivered = 17;// "已投递"//到点自寄yong;

        public final int reject = 18;// "拒收"
        public final int collectionsuccess = 19;// "揽件成功"

        public final int posted = 20;// "到柜已投递"
        public final int picket = 21;// "到柜已取走"

        public final int rejectposted = 22;// "拒收已投递
        public final int rejectpicket = 23;// "拒收已取走
    }

    /**
     * 火箭侠任务状态
     */
    public interface CourierTaskStatus {
        //任务类型，5上门，1驿站，2交接，3同城，6快递柜，
        public final int visitTask = 5;
        public final int stationTask = 1;//驿站任务
        public final int transferTask = 2;//回仓交接
        public final int sameCityTask = 3;//3同城
        public final int cabinetTask = 6;//6快递柜
    }

    /**
     * 火箭侠任务步骤类型
     */
    public interface CourierTaskFinishStatus {
        public final int CityAcceptanceReceiverCode = 7;//验收收件码
        public final int CityAcceptanceSendCode = 6;//验收寄件码
        public final int ContactReceiver = 5;//联系收件人
        public final int confirmParcelStatus = 3;//验收包裹状态
        public final int contractSender = 2;//联系寄件人
    }

    /**
     * 任务状态，2进行中，3已完成 100取消，102任务异常
     */
    public interface CourierTaskDoingStatus {
        //进行中
        public final int TaskDoing = 2;
        //已完成
        public final int TaskFinished = 3;
        //任务取消
        public final int TaskCancel = 100;
        //任务异常
        public final int TaskException = 102;
        //用户取消任务
        public final int TaskCanelForUser = 103;
        //火箭侠取消
        public final int TaskCanelForCourier = 104;
    }

    /**
     * 火箭侠注册状态
     */
    public interface CourierRegisterStatus {
        //注册
        public final int RegisterStatus = 1;
        //审核中
        public final int AuditStatus = 2;
        //培训中
        public final int TrainStatus = 3;
        //交押金中
        public final int DepositStatus = 4;
        //领取物料
        public final int ReceiveStatus = 5;
        //注册成功
        public final int RegisterOkStatus = 6;
    }
}
